#
# Be sure to run `pod lib lint DDUIKit.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'DDUIKit'
  s.version          = '1.2.4'
  s.summary          = '用于存放一些常用的UI插件'
  s.homepage         = 'https://gitee.com/ddhans/DDUIKit'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { '772729579@qq.com' => '772729579@qq.com' }
  s.source           = { :git => 'https://gitee.com/ddhans/DDUIKit.git', :tag => s.version.to_s }
  s.ios.deployment_target = '8.0'
  
  s.subspec 'DDActionSheet' do |sub|
      sub.source_files = 'DDUIKit/DDActionSheet/*.{h,m}', 'DDUIKit/DDActionSheet/**/*.{h,m}'
  end
  
  s.subspec 'DDAlertView' do |sub|
      sub.source_files = 'DDUIKit/DDAlertView/*.{h,m}', 'DDUIKit/DDAlertView/**/*.{h,m}'
      sub.dependency 'Masonry'
  end
  
  s.subspec 'DDLaunchAdvertise' do |sub|
      sub.source_files = 'DDUIKit/DDLaunchAdvertise/*.{h,m}', 'DDUIKit/DDLaunchAdvertise/**/*.{h,m}'
  end
  
  s.subspec 'DDFeaturePageView' do |sub|
      sub.source_files = 'DDUIKit/DDFeaturePageView/*.{h,m}', 'DDUIKit/DDFeaturePageView/**/*.{h,m}'
  end
  
  s.subspec 'DDTextView' do |sub|
      sub.source_files = 'DDUIKit/DDTextView/*.{h,m}', 'DDUIKit/DDTextView/**/*.{h,m}'
  end
  
  s.subspec 'DDCycleScrollView' do |sub|
      sub.source_files = 'DDUIKit/DDCycleScrollView/*.{h,m}', 'DDUIKit/DDCycleScrollView/**/*.{h,m}'
      sub.dependency 'SDWebImage'
  end
  
  s.subspec 'DDEmptyView' do |sub|
      sub.source_files = 'DDUIKit/DDEmptyView/*.{h,m}', 'DDUIKit/DDEmptyView/**/*.{h,m}'
  end
  
  s.subspec 'DDShareView' do |sub|
      sub.source_files = 'DDUIKit/DDShareView/*.{h,m}', 'DDUIKit/DDShareView/**/*.{h,m}'
  end
  
end
